package com.fenger.service;

import com.fenger.domain.Topic;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fenger.utils.DataGirdView;
import com.fenger.vo.TopicVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 方
 * @since 2019-04-29
 */
public interface TopicService extends IService<Topic> {

    DataGirdView queryAllTopicForTable(TopicVo topicVo);

    DataGirdView insertTopic(TopicVo topicVo);
    DataGirdView updateTopic(TopicVo topicVo);
    DataGirdView deleteTopic(TopicVo topicVo);
    DataGirdView addClickamount(TopicVo topicVo);

    Topic queryTopicByTopicid(TopicVo topicVo);
}
